<template>
    <UxDialog :visible="visible" @close="visible = false">
        <LogisticsComputed class="logistics" />
    </UxDialog>
</template>
<script>
export default {
    name: "LogisticsComputedDialog",
    props: ["value"],
    data () {
        return {
            visible: false,
        };
    },
    methods: {
        open () {
            this.visible = true
        },
    },
    created () {
        this.$on("global:shippingDialogOpen", this.open);
    }
};
</script>
<style lang="scss" scoped>
.logistics.logistics-computed {
    width: calc(100vw - 80px);
    min-height: calc(100vh - 80px);
    min-width: 600px;
    max-width: 1100px;
    box-sizing: border-box;
    padding: 0 60px 60px !important;

    &::v-deep {
        & > h4 {
            padding: 46px 0 24px;
            font-size: 32px;
            font-family: Roboto-Medium, Roboto;
            font-weight: 500;
            color: #000000;
            line-height: 46px;
            text-align: center;
            margin: 0;
        }

        .computed-tabs ul > li {
            margin: 0 20px;
            padding-left: 10px;
            padding-right: 10px;
        }
    }
}
</style>
